Interface: Mask
Methods
getUnderlyingType
▸ getUnderlyingType(): MaskUnderlyingType
Returns
toCanvasImageSource
▸ toCanvasImageSource(): Promise
<CanvasImageSource
>
Returns
Promise
<CanvasImageSource
>
toImageData
▸ toImageData(): Promise
<ImageData
>
Returns
Promise
<ImageData
>
toTensor
▸ toTensor(): Promise
<Tensor3D
>
Returns
Promise
<Tensor3D
>